package com.zjcode.cdcer.mapper;
import java.util.Collection;
import org.apache.ibatis.annotations.Param;

import com.zjcode.cdcer.model.TkmEndoscopeDiagnoseNounInfo;
import java.util.LinkedHashMap;import java.util.List;import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TkmEndoscopeDiagnoseNounInfoMapper {

    int deleteByPrimaryKey(String id);

    int insert(TkmEndoscopeDiagnoseNounInfo record);

    int insertSelective(TkmEndoscopeDiagnoseNounInfo record);

    TkmEndoscopeDiagnoseNounInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TkmEndoscopeDiagnoseNounInfo record);

    int updateByPrimaryKey(TkmEndoscopeDiagnoseNounInfo record);

    List<LinkedHashMap<String, Object>> queryEndoscopeDiagnoseNounTree();

    List<TkmEndoscopeDiagnoseNounInfo> selectByName(@Param("name")String name);

    List<TkmEndoscopeDiagnoseNounInfo> selectByNameIn(@Param("nameCollection")Collection<String> nameCollection);

    List<TkmEndoscopeDiagnoseNounInfo> selectByIdIn(@Param("idCollection")Collection<String> idCollection);






}
